package com.isnotlocus.gulimail.ware.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.isnotlocus.common.utils.PageUtils;
import com.isnotlocus.gulimail.ware.PurchaseMergeVo;
import com.isnotlocus.gulimail.ware.entity.PurchaseEntity;
import com.isnotlocus.gulimail.ware.vo.PurchaseDoneVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author IsnotLocus
 * @email sunlightcs@gmail.com
 * @date 2020-07-16 20:28:44
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils GetUnreceiveList(Map<String,Object> params);

    void purchaseMerge(PurchaseMergeVo purchaseMergeVo);

    void receivedPurchase(List<Long> ids);

    void DonPurchase(PurchaseDoneVo vo) throws IOException;
}

